package com.healthcloud.dao;


import com.healthcloud.entity.*;
import com.healthcloud.utils.PageParam;
import org.apache.ibatis.annotations.Param;

import java.util.List;


public interface ChronicMapper extends CRUDMapper<FaultStaBean, Integer> {
    List<PatientBean> searchPatient(@Param("entity") PatientBean entity, @Param("pageindex") String pageindex, @Param("pagesize") String pagesize);
    int countPatient(@Param("entity") PatientBean entity);
    List<TestResultExpBean> searchResultExp(@Param("entity") TestResultExpBean entity);
    List<DueFollowUpPlanBean> searchDueFollowUpPlan(@Param("entity") DueFollowUpPlanBean entity);
    List<ChronicTestResultBean> searchTestResult(@Param("entity") ChronicTestResultBean entity);
    List<ChronicTestResultBean> searchBpList(@Param("entity") ChronicTestResultBean entity, @Param("pageParam") PageParam pageParam);
    List<ChronicTestResultBean> searchBsList(@Param("entity") ChronicTestResultBean entity, @Param("pageParam") PageParam pageParam);
    List<SmartDataBean> searchSmartList(@Param("entity") SmartDataBean entity, @Param("pageindex") String pageindex, @Param("pagesize") String pagesize);
    int countSmartList(@Param("entity") SmartDataBean entity);
    List<PatientBean> selectPatient(@Param("entity") PatientBean entity, @Param("pageindex") String pageindex, @Param("pagesize") String pagesize);
    List<CommonTestResultBean> getAllBsData(@Param("sns") List<String> sns, @Param("entity") CommonTestResultBean entity, @Param("pageindex") String pageindex, @Param("pagesize") String pagesize);
    List<CommonTestResultBean> getAllBpData(@Param("sns") List<String> sns, @Param("entity") CommonTestResultBean entity, @Param("pageindex") String pageindex, @Param("pagesize") String pagesize);
	int countBpList(@Param("entity") ChronicTestResultBean entity);
	int countBsList(@Param("entity") ChronicTestResultBean entity);
}